import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'


const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

export default pinia

// import {useUserStore} from './modules/user'
// export {useUserStore}
// import {useCounterStore} from './modules/counter'
// export {useCounterStore}
//统一导出
export * from './modules/user'
export * from './modules/counter'